package me.zhengjie.modules.fund.repository;

import me.zhengjie.modules.fund.domain.Fund;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface FundRepository extends JpaRepository<Fund, Long>, JpaSpecificationExecutor<Fund> {

    /**
     * 根据code查询
     *
     * @param code 基金编码
     * @return
     */
    Fund findByCode(String code);
}
